

import { Swipe,SwipeItem,Button,Icon,Popup,Toast    } from "vant";

//放入数组中
let plugins = [
    Swipe,SwipeItem,Button,Icon,Popup ,Toast  
]

/**
 * 
 * 
 */
//导出去
export default function getVant(app){
    //对数组进行循环
    plugins.forEach((item)=>{
        //返回一个app.use item
        return app.use(item)
    })
}